There is no return statement in this branch, but you do return something in other branches. Did you maybe miss it? If you do not want to return anything, consider adding return undefined; explicitly.
Loading history...
23
} catch (e) {
24
return str;
25
}
26
}
27
28
function checkEmptyHtml(id, checkChildNode = false) {